package com.mercury.aspects;

import java.lang.reflect.Method;

import org.springframework.aop.ThrowsAdvice;

public class LogThrow implements ThrowsAdvice {
	public void afterThrowing(Method method, Object[] args, Object target, Throwable subclass) throws Throwable{
		System.out.println(args[0]+" is getting bugs...");
	}
}

